package com.oms.bean;

public class ShoppingCar {
	
	private int id;
	private int shopping_cart_id;
	private int user_id;
	private int food_price;
	private int food_number;
	private String add_time;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getShopping_cart_id() {
		return shopping_cart_id;
	}
	public void setShopping_cart_id(int shopping_cart_id) {
		this.shopping_cart_id = shopping_cart_id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public int getFood_price() {
		return food_price;
	}
	public void setFood_price(int food_price) {
		this.food_price = food_price;
	}
	public int getFood_number() {
		return food_number;
	}
	public void setFood_number(int food_number) {
		this.food_number = food_number;
	}
	public String getAdd_time() {
		return add_time;
	}
	public void setAdd_time(String add_time) {
		this.add_time = add_time;
	}
	@Override
	public String toString() {
		return "ShoppingCar [id=" + id + ", shopping_cart_id=" + shopping_cart_id + ", user_id=" + user_id
				+ ", food_price=" + food_price + ", food_number=" + food_number + ", add_time=" + add_time + "]";
	}
	public ShoppingCar(int id, int shopping_cart_id, int user_id, int food_price, int food_number, String add_time) {
		super();
		this.id = id;
		this.shopping_cart_id = shopping_cart_id;
		this.user_id = user_id;
		this.food_price = food_price;
		this.food_number = food_number;
		this.add_time = add_time;
	}
	public ShoppingCar(int shopping_cart_id, int user_id, int food_price, int food_number, String add_time) {
		super();
		this.shopping_cart_id = shopping_cart_id;
		this.user_id = user_id;
		this.food_price = food_price;
		this.food_number = food_number;
		this.add_time = add_time;
	}
	public ShoppingCar() {
		super();
		// TODO Auto-generated constructor stub
	}

}
